package com.fc.remoting.core;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import javax.servlet.http.HttpServletResponse;

public class SessionManager {
	
	private static Map<String, HttpServletResponse> sessionMap = new ConcurrentHashMap<String, HttpServletResponse>();
	
	public static void putHttpChannel(String id,HttpServletResponse response){
		sessionMap.put(id, response);
	}
	
	public static HttpServletResponse getHttpChannel(String id){
		return sessionMap.get(id);
	}
}
